<?php
	ini_set('session.save_path', '/tmp');
	session_start();
	if (!isset($_SESSION['uname'])) {
		header("Location: login.php");
	} 
?>

<html>
<head>
<title>Youtube</title>
<script type="text/javascript" src="jquery-1.4.4.min.js"></script>
</head>
<body>
	<input type="hidden" id="videoName" value="testYoutubeVideo" />
	<object height="450" width="1000">
		<param name="movie" value="feature=player_embedded">
		<embed
			src="http://www.youtube.com/v/VhokQhjl5t0&hl=en_US&fs=1&rel=0&hd=1&border=0&enablejsapi=1"
			height="450" width="1000" type="application/x-shockwave-flash"
			allowfullscreen="true" allowscriptaccess="always" wmode="transparent"
			name="idPlayer" id="idPlayer" />
	</object><br/><br/>
	<a href="flowplayer.php">Flowplayer</a><br/>
</body>

<script type="text/javascript" src="youtube_analytics.js"></script>
</html>
